package com.bank.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel("获取当前持有卡的信息")
@Data
public class AccountLoginVO {
    @ApiModelProperty("账户ID")
    private Long accountId;

    @ApiModelProperty("账户类型")
    private Integer accountType;

    @ApiModelProperty("账户余额")
    private BigDecimal balance;

    @ApiModelProperty("每月信用额度")
    private BigDecimal creditMonthlyLimit;

    @ApiModelProperty("已贷款金额")
    private BigDecimal loan;

    @ApiModelProperty("每月贷款额度")
    private BigDecimal loanMonthlyLimit;

    @ApiModelProperty("账户状态")
    private String status;

    @ApiModelProperty("创建时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
